<?php $this->placeholder('toolBar')->captureStart();?>
<input class="button" name="save" type="button" onclick="blockUI('Сохранение');$('#pageSave').submit();" value="Сохранить"/>&nbsp;
<input class="button" type="submit" onclick="blockUI('Сохранение');$('#afterSaveAction').val('preview');$('#pageSave').submit();" name="save_view" value="Сохранить и просмотреть"/>
<input class="button" type="submit" onclick="goto(url('page/edit'))" name="save_view" value="Отмена"/>
<input class="button" style="float: right;" type="submit" onclick="$('.glowBox').fadeIn();" name="save_view" value="Мета"/>
<?php $this->placeholder('toolBar')->captureEnd();?>
<style>
.seoButtons
{
	height: 20px;padding: 3px;width: 95%;
}
</style>
<div class="glowBox" style="width: 200px;display: none;position: absolute;right: 15px;">



<p>Title:<br />        <input class="invivo seoButtons"   name="wsx" value="wsx cderf" type="text" /> </p>
<p>Keywords:<br />     <input class="invivo seoButtons"   name="wsx" value="wsx cderf" type="text" /> </p>
<p>Descrioption:<br /> <input class="invivo seoButtons"   name="wsx" value="wsx cderf" type="text" /> </p>
<p><input type="button" class="button" value="Принять" onclick="$('.glowBox').fadeOut();" /></p>
</div>


<script type="text/javascript" src="<?php echo $this->baseUrl("stuff/editor/ckeditor/ckeditor.js");?>"></script>
<script type="text/javascript" src="<?php echo $this->baseUrl("stuff/editor/fck.js");?>"></script>
 

<form action="" method="post" id="pageSave"  enctype="multipart/form-data">
<input type="hidden" id="afterSaveAction" name="afterSaveAction" value="list" />
<input type="hidden" id="seoTitle" name="seoTitle" value="" />
<input type="hidden" id="seoDescription" name="seoDescription" value="" />
<input type="hidden" id="seoKeywords" name="seoKeywords" value="" />


<p> 
	<span class="fieldTitle">Заголовок:</span>  
	<input style="width: 100%; height:20px;padding:2px;padding-left: 5px;" class="invivo" type="text" name="title" value="<?php echo htmlentities( $this->Row['Title'],ENT_QUOTES,'UTF-8'); ?>" />
</p>

<p> 
	<span class="fieldTitle">Текст:</span>  
	<textarea rows="50" style="height: 500px" cols="50" name="text"><?php echo htmlentities( $this->Row['Text'],ENT_QUOTES,'UTF-8'); ?></textarea> 
</p>

</form>
